package makabakaquestionnaire.zutsoftware.mapper;

import com.github.pagehelper.PageInfo;
import makabakaquestionnaire.zutsoftware.entity.ProjectResult;
import makabakaquestionnaire.zutsoftware.entity.UserProject;
import makabakaquestionnaire.zutsoftware.entity.request.QueryResultRequest;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProjectResultMapper {
    int  saveProjectResult(ProjectResult projectResult);
    List<ProjectResult> queryProjectByRequest(QueryResultRequest queryResultRequest);
    Long getResultMaxNum(String projectKey);
}
